"
SUnit tests for GlobalIdentifier with FUEL
"
Class {
	#name : 'GlobalIdentifierWithFuelTest',
	#superclass : 'GlobalIdentifierTest',
	#category : 'System-Identification-Tests',
	#package : 'System-Identification-Tests'
}

{ #category : 'accessing' }
GlobalIdentifierWithFuelTest >> actualPreferencesFileName [
	^ 'preferences.fuel'
]

{ #category : 'running' }
GlobalIdentifierWithFuelTest >> setUpPersistenceStrategyAndChecker [
	preferences := FileLocator workingDirectory / self folderName / 'pharoX' / self actualPreferencesFileName.
	preferences ensureDelete.
	identifier persistenceStrategy: GlobalIdentifierPersistence fuel.
	identifier persistenceStrategy preferences: preferences.
	identifier persistenceStrategy checker: (self newChecker answer: [ FileLocator workingDirectory exists ]; yourself)
]
